package com.lihao.jetpackcore.network

/**
 * Created by lihao on 2020/5/15.
 * Describe: 服务器返回数据的基类
 */
abstract class BaseResponse<T> {

    abstract fun isSuccess(): Boolean

    abstract fun getResponseData(): T

    abstract fun getResponseCode(): Int

    abstract fun getResponseMsg(): String
}